package com.example.test.dialogfactory;

import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import androidx.appcompat.app.AppCompatActivity;

public class MainActivity58 extends AppCompatActivity {

    private Button mClick1;
    private Button mClick2;

    public static void start( Context context ) {

        Intent starter = new Intent( context, MainActivity58.class );
        context.startActivity( starter );
    }

    @Override
    protected void onCreate( Bundle savedInstanceState ) {

        super.onCreate( savedInstanceState );
        setContentView( R.layout.activity_main58 );
        initView();
    }

    private void initView() {

        mClick1 = (Button) findViewById( R.id.click1 );
        mClick2 = (Button) findViewById( R.id.click2 );

        mClick1.setOnClickListener( new OnClickListener() {
            @Override
            public void onClick( View v ) {

            }
        } );

        mClick2.setOnClickListener( new OnClickListener() {
            @Override
            public void onClick( View v ) {

            }
        } );
    }
}